package com.ficus.road.maintain.core.model.dingtalk;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xiawen yang
 * @date 2022/2/17 下午4:16
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DingTalkUserInfo {
    @JsonProperty("associated_unionid")
    private String associatedUnionId;

    @JsonProperty("unionid")
    private String unionId;

    @JsonProperty("device_id")
    private String deviceId;

    @JsonProperty("sys_level")
    private Integer sysLevel;

    @JsonProperty("sys")
    private Boolean sys;

    @JsonProperty("name")
    private String name;

    @JsonProperty("userid")
    private String userId;
}
